﻿<UserControl x:Class="StockholmsStad.Windows.UI.Infrastructure.Controls.DatePickerPopup"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:DateControls="clr-namespace:Microsoft.Samples.KMoore.WPFSamples.DateControls;assembly=J832.Wpf.BagOTricksLib"
    >
    <Grid>
        <Popup x:Name="popupControl" PlacementRectangle="0, 0, 0 ,0">
            <Grid>         
                <DateControls:MonthCalendar x:Name="dateControl" DateSelectionChanged="MonthCalendar_DateSelectionChanged"></DateControls:MonthCalendar>
            </Grid>
        </Popup>

        <Image Source="calendar2.png" MouseLeftButtonDown="openPopup_Click" Cursor="Hand" />

    </Grid>
</UserControl>
